home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / README.RS6000 < prev    next >
Text File  |  1994-11-22  |  4KB  |  96 lines

  1.              AIX 3.1 and 3.2 assembler problems
  2.  
  3. Specifying the -g flag to GCC on the RS/6000 requires upgrading the
  4. standard AIX assembler distributed with AIX 3.1 and versions of AIX
  5. 3.2 earlier than 3.2.4 with a replacement that is available from IBM.
  6. Note that Makefile.in specifies the -g when compiling libgcc2.c.
  7.  
  8. You can test for the presence of a fixed assembler by entering the following:
  9.         % as -u < /dev/null
  10. If the command exits normally, the assembler fix already is installed.
  11. If the assembler complains that "-u" is an unknown flag, you need to order
  12. the fix.
  13.  
  14. If you are running AIX 3.1 (lslpp -h bos.obj output reports
  15. 03.01.0005.XXXX where the 0005 can be any higher number and the XXXX
  16. can be any value), call IBM Support at 800-237-5511 and ask for
  17. shipment of AIX/6000 fix PTF U403044 for APAR IX22829 (.extern foo
  18. conflicts with defining foo).
  19.  
  20. If you are running AIX 3.2 but not 3.2.4 or later (lslpp -h bos.obj
  21. output reports 03.02.0000.0000), a newer update to the assembler fix
  22. is available.  Ask for shipment of AIX/6000 fix PTF U416277 for
  23. IX32992 (.global prevents detection of duplicate symbol).
  24.  
  25. If you are running AIX 3.2.4 or later, you already have the new
  26. assembler.
  27.  
  28. Any customer can order and get the replacement assembler, and install it on
  29. one or more machines.  It is available on diskette from IBM Customer Support
  30. and from the IBM Internet fix anonymous ftp server (FixDist) at
  31. aix.boulder.ibm.com (198.17.57.66).
  32.  
  33. If you contact IBM Customer Support, they may also ask you for your customer
  34. number.  If you do not know it, you will still be able to get the fix, but
  35. you will have to be persistent.  IBM has corresponding support organizations
  36. outside of North America.  Call your IBM branch office and ask them to put
  37. you in touch with the department that handles fixes for AIX/6000.  If that
  38. doesn't work, ask for the department that handles software defect support
  39. for AIX/6000 and ask for the APAR fix.
  40.  
  41.  
  42.                   AIX NLS problems
  43.  
  44. AIX on the RS/6000 provides support (NLS) for environments outside of
  45. the United States.  Compilers and assemblers use NLS to support
  46. locale-specific representations of various objects including
  47. floating-point numbers ("." vs "," for separating decimal fractions).
  48. There have been problems reported where the library linked with GCC does
  49. not produce the same floating-point formats that the assembler accepts.
  50. If you have this problem, set the LANG environment variable to "C" or
  51. "En_US".
  52.  
  53.  
  54.              AIX 3.2.5 XLC-1.3 problems
  55.  
  56. XLC version 1.3.0.0 distributed with AIX 3.2.5 will miscompile jump.c when
  57. building the stage1 compiler during the bootstrap process.  This will cause
  58. GCC to crash and the bootstrap to fail later while compiling libgcc2.c.  XLC
  59. version 1.3.0.1 or later fixes this problem.  XLC-1.3.0.19 also cannot
  60. bootstrap GCC so please avoid that release as well.  You can obtain
  61. XLC-1.3.0.24 by requesting PTF 432238 from IBM, or just ask for the latest
  62. release of XLC-1.3.
  63.  
  64. There also have been reports of problems bootstrapping GCC with some older
  65. releases of xlc-1.2.1, including xlc-1.2.1.8.  Newer releases of xlc-1.2.1
  66. do not exhibit this problem: xlc-1.2.1.28 is known to bootstrap properly.
  67.  
  68.  
  69.             AIX 3.2 common-mode support
  70.  
  71. AIX common-mode providing transparent support of both the POWER and PowerPC
  72. architectures is usable in AIX 3.2.3 and above but an export file and
  73. support for hidden export via libc.a will not exist until AIX 4.1.  libgcc.a
  74. also must be compiled in common-mode.  Note that executables generated for
  75. the POWER (RIOS1 and RSC) architecture will run directly on systems using
  76. the MPC601 chip.  Common-mode only improves the performance of a single
  77. executable run on both POWER and PowerPC architecture platforms by not using
  78. POWER- or PowerPC-specific instructions and eliminating the need to trap to
  79. emulation (for POWER instructions run on PowerPC).
  80.  
  81. To link a common-mode application prior to AIX 4.1 and run it on a system at
  82. AIX level 3.2.3 or above, use the text between the "<>" as an export file
  83. (e.g. milli.exp)
  84.  
  85. <><><><><><><><><><><>
  86. #!
  87. __mulh          0x3100
  88. __mull          0x3180
  89. __divss         0x3200
  90. __divus         0x3280
  91. __quoss         0x3300
  92. __quous         0x3380
  93. <><><><><><><><><><><>
  94.  
  95. and then link with -Wl,-bI:milli.exp.
  96.